package dbLayer;

import java.util.ArrayList;

import modelLayer.*;

public interface IFDBSalesOrder {

	public ArrayList<SalesOrder> getAllSalesOrder(boolean retriveAssociation);
	public SalesOrder findSalesOrder(int id, boolean retriveAssociation);
	public SalesOrder searchSalesOrderOnName(String name, boolean retriveAssociation);
	
	public int insert(SalesOrder salesOrder) throws Exception;
	public int update(SalesOrder salesOrder);
	public int delete(int id);
}
